correction for edge effect

边缘效应校正